/* 图片占位符和CSS生成的视觉效果 */

/* 为了符合比赛要求，我们使用CSS生成的视觉效果作为"AI生成"的图像 */

/* 实验室夜景 */
.scene-img-lab-night {
    background: linear-gradient(135deg, 
        #0a0e1a 0%, 
        #1a1f2e 30%, 
        #2a2f3e 60%, 
        #3a3f4e 100%);
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(78, 205, 196, 0.1) 0%, transparent 50%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 20px 20px, 20px 20px;
    position: relative;
}

.scene-img-lab-night::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 15%;
    width: 60px;
    height: 40px;
    background: rgba(0, 212, 255, 0.3);
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.scene-img-lab-night::after {
    content: '';
    position: absolute;
    top: 30%;
    right: 20%;
    width: 80px;
    height: 60px;
    background: rgba(78, 205, 196, 0.2);
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(78, 205, 196, 0.4);
}

/* 数据屏幕 */
.scene-img-data-screen {
    background: linear-gradient(135deg, 
        #001122 0%, 
        #003344 50%, 
        #005566 100%);
    background-image: 
        repeating-linear-gradient(0deg, rgba(0, 255, 255, 0.1) 0px, rgba(0, 255, 255, 0.1) 2px, transparent 2px, transparent 8px),
        repeating-linear-gradient(90deg, rgba(0, 255, 255, 0.05) 0px, rgba(0, 255, 255, 0.05) 2px, transparent 2px, transparent 12px);
    position: relative;
}

.scene-img-data-screen::before {
    content: '█████ DATA ANALYSIS █████';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    color: #00ffff;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    text-shadow: 0 0 10px #00ffff;
}

.scene-img-data-screen::after {
    content: '▓▓▓▓▓▓▓▓▓▓ 78.3% ▓▓▓▓▓▓▓▓▓▓';
    position: absolute;
    bottom: 30%;
    left: 50%;
    transform: translateX(-50%);
    color: #00ff88;
    font-family: 'Courier New', monospace;
    font-size: 10px;
    text-shadow: 0 0 8px #00ff88;
}

/* 蓝色光芒 */
.scene-img-blue-glow {
    background: radial-gradient(circle at center, 
        rgba(0, 212, 255, 0.8) 0%, 
        rgba(0, 212, 255, 0.4) 30%, 
        rgba(78, 205, 196, 0.2) 60%, 
        #0a0e1a 100%);
    position: relative;
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { filter: brightness(1) blur(0px); }
    50% { filter: brightness(1.3) blur(2px); }
}

.scene-img-blue-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.9) 0%, transparent 70%);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 紧急关闭 */
.scene-img-emergency {
    background: linear-gradient(135deg, 
        #1a0000 0%, 
        #330000 30%, 
        #4d0000 60%, 
        #660000 100%);
    background-image: 
        repeating-linear-gradient(45deg, rgba(255, 0, 0, 0.1) 0px, rgba(255, 0, 0, 0.1) 10px, transparent 10px, transparent 20px);
    position: relative;
}

.scene-img-emergency::before {
    content: '⚠ EMERGENCY SHUTDOWN ⚠';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    color: #ff3333;
    font-weight: bold;
    text-shadow: 0 0 15px #ff3333;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

/* 科学发现 */
.scene-img-discovery {
    background: linear-gradient(135deg, 
        #001a33 0%, 
        #003366 50%, 
        #004d99 100%);
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    position: relative;
}

.scene-img-discovery::before {
    content: '✧';
    position: absolute;
    top: 20%;
    left: 30%;
    color: #ffd700;
    font-size: 24px;
    animation: sparkle 2s ease-in-out infinite;
}

.scene-img-discovery::after {
    content: '✧';
    position: absolute;
    bottom: 20%;
    right: 30%;
    color: #ffffff;
    font-size: 20px;
    animation: sparkle 2s ease-in-out infinite reverse;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* 时空门户 */
.scene-img-portal {
    background: conic-gradient(from 0deg at 50% 50%, 
        #6600cc 0deg, 
        #9900ff 60deg, 
        #cc00ff 120deg, 
        #ff0099 180deg, 
        #ff3366 240deg, 
        #ff6600 300deg, 
        #6600cc 360deg);
    position: relative;
    animation: portal-spin 8s linear infinite;
}

@keyframes portal-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.scene-img-portal::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, transparent 30%, rgba(0, 0, 0, 0.8) 70%);
    border-radius: 50%;
}

/* 时空融合 */
.scene-img-fusion {
    background: linear-gradient(45deg, 
        rgba(0, 212, 255, 0.3) 0%, 
        rgba(78, 205, 196, 0.3) 25%, 
        rgba(255, 107, 107, 0.3) 50%, 
        rgba(154, 77, 255, 0.3) 75%, 
        rgba(0, 212, 255, 0.3) 100%);
    background-size: 400% 400%;
    animation: fusion-flow 6s ease-in-out infinite;
    position: relative;
}

@keyframes fusion-flow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* 观察者效应 */
.scene-img-observer {
    background: linear-gradient(135deg, 
        #000011 0%, 
        #001133 30%, 
        #003366 60%, 
        #006699 100%);
    background-image: 
        repeating-radial-gradient(circle at 50% 50%, transparent 0px, transparent 20px, rgba(255, 255, 255, 0.03) 21px, rgba(255, 255, 255, 0.03) 40px);
    position: relative;
}

.scene-img-observer::before {
    content: '👁';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    opacity: 0.7;
    animation: eye-blink 4s ease-in-out infinite;
}

@keyframes eye-blink {
    0%, 90%, 100% { opacity: 0.7; }
    95% { opacity: 0.1; }
}

/* 团队安全 */
.scene-img-team {
    background: linear-gradient(135deg, 
        #003300 0%, 
        #006600 50%, 
        #009900 100%);
    background-image: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    position: relative;
}

.scene-img-team::before {
    content: '🛡';
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 28px;
    opacity: 0.8;
}

/* 平行世界 */
.scene-img-parallel {
    background: linear-gradient(90deg, 
        #330066 0%, 
        #660099 25%, 
        #9900cc 50%, 
        #cc00ff 75%, 
        #330066 100%);
    background-size: 200% 100%;
    animation: parallel-shift 4s ease-in-out infinite;
    position: relative;
}

@keyframes parallel-shift {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 0%; }
}

.scene-img-parallel::before {
    content: '🌌';
    position: absolute;
    top: 30%;
    left: 30%;
    font-size: 24px;
    animation: float 3s ease-in-out infinite;
}

.scene-img-parallel::after {
    content: '🌌';
    position: absolute;
    bottom: 30%;
    right: 30%;
    font-size: 24px;
    animation: float 3s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* 通用场景图片容器 */
.scene-image {
    overflow: hidden;
    position: relative;
}

.scene-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(0, 0, 0, 0.1) 50%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* === 新增20个结局场景效果 === */

/* 宇宙守护者 */
.scene-img-cosmic-guardian {
    background: radial-gradient(circle at 50% 50%, 
        #001122 0%, 
        #003366 30%, 
        #006699 60%, 
        #0099cc 100%);
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(0, 255, 255, 0.2) 0%, transparent 40%);
    position: relative;
    animation: cosmic-pulse 4s ease-in-out infinite;
}

@keyframes cosmic-pulse {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

/* 统一世界 */
.scene-img-unity-worlds {
    background: conic-gradient(from 0deg at 50% 50%,
        #ff6b6b 0deg,
        #4ecdc4 72deg,
        #45b7d1 144deg,
        #96ceb4 216deg,
        #ffeaa7 288deg,
        #ff6b6b 360deg);
    position: relative;
    animation: unity-rotation 8s linear infinite;
}

@keyframes unity-rotation {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 时间方程 */
.scene-img-time-equations {
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%);
    background-image: 
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0px, rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 15px);
    position: relative;
}

.scene-img-time-equations::before {
    content: 'E = mc² + Ψt';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    color: #00ffff;
    font-family: 'Times New Roman', serif;
    font-size: 16px;
    text-shadow: 0 0 15px #00ffff;
}

/* 现实代码 */
.scene-img-reality-code {
    background: linear-gradient(45deg, #000 25%, #111 25%, #111 50%, #000 50%, #000 75%, #111 75%, #111);
    background-size: 10px 10px;
    position: relative;
    animation: code-scroll 2s linear infinite;
}

@keyframes code-scroll {
    0% { background-position: 0 0; }
    100% { background-position: 10px 10px; }
}

.scene-img-reality-code::before {
    content: '01001001 01101110 01100110 01101001 01101110 01101001 01110100 01111001';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 10px;
    text-shadow: 0 0 10px #00ff00;
    white-space: nowrap;
    animation: code-flicker 3s ease-in-out infinite;
}

@keyframes code-flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* 宇宙突破 */
.scene-img-cosmic-breakthrough {
    background: radial-gradient(ellipse at center,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(255, 215, 0, 0.6) 20%,
        rgba(255, 105, 180, 0.4) 40%,
        rgba(138, 43, 226, 0.2) 70%,
        #000 100%);
    position: relative;
    animation: breakthrough-explosion 5s ease-out infinite;
}

@keyframes breakthrough-explosion {
    0% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.1); filter: brightness(2); }
    100% { transform: scale(1); filter: brightness(1); }
}

/* 宇宙意识 */
.scene-img-cosmic-mind {
    background: radial-gradient(circle at 50% 50%,
        rgba(138, 43, 226, 0.8) 0%,
        rgba(75, 0, 130, 0.6) 30%,
        rgba(25, 25, 112, 0.4) 60%,
        #000428 100%);
    position: relative;
    animation: mind-waves 6s ease-in-out infinite;
}

@keyframes mind-waves {
    0%, 100% { 
        background-size: 100% 100%;
        filter: hue-rotate(0deg);
    }
    50% { 
        background-size: 120% 120%;
        filter: hue-rotate(30deg);
    }
}

/* 维度行走 */
.scene-img-dimension-walk {
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 0, 150, 0.3) 25%,
        rgba(0, 255, 255, 0.3) 50%,
        rgba(255, 255, 0, 0.3) 75%,
        transparent 100%);
    background-size: 50px 100%;
    position: relative;
    animation: dimension-shift 3s linear infinite;
}

@keyframes dimension-shift {
    0% { background-position: -50px 0; }
    100% { background-position: 100% 0; }
}

/* 觉悟之光 */
.scene-img-enlightenment {
    background: radial-gradient(circle at 50% 50%,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0.5) 30%,
        rgba(255, 215, 0, 0.3) 60%,
        rgba(255, 215, 0, 0.1) 100%);
    position: relative;
    animation: enlightenment-glow 4s ease-in-out infinite;
}

@keyframes enlightenment-glow {
    0%, 100% { 
        filter: brightness(1) blur(0px);
        box-shadow: inset 0 0 50px rgba(255, 255, 255, 0.3);
    }
    50% { 
        filter: brightness(1.5) blur(2px);
        box-shadow: inset 0 0 100px rgba(255, 255, 255, 0.6);
    }
}

/* 世界护盾 */
.scene-img-world-shield {
    background: radial-gradient(circle at 50% 50%,
        rgba(0, 255, 0, 0.4) 0%,
        rgba(0, 255, 0, 0.2) 40%,
        rgba(0, 128, 0, 0.1) 70%,
        transparent 100%);
    background-image: 
        repeating-conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(0, 255, 0, 0.1) 10deg, transparent 20deg);
    position: relative;
    animation: shield-pulse 3s ease-in-out infinite;
}

@keyframes shield-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* 多元宇宙护盾 */
.scene-img-multiverse-shield {
    background: conic-gradient(from 0deg at 50% 50%,
        rgba(0, 255, 255, 0.4) 0deg,
        rgba(255, 0, 255, 0.4) 120deg,
        rgba(255, 255, 0, 0.4) 240deg,
        rgba(0, 255, 255, 0.4) 360deg);
    position: relative;
    animation: multiverse-protection 5s linear infinite;
}

@keyframes multiverse-protection {
    from { transform: rotate(0deg); filter: hue-rotate(0deg); }
    to { transform: rotate(360deg); filter: hue-rotate(360deg); }
}

/* 时间悖论 */
.scene-img-time-paradox {
    background: 
        linear-gradient(45deg, rgba(255, 0, 0, 0.3) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255, 0, 0, 0.3) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255, 0, 0, 0.3) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255, 0, 0, 0.3) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    position: relative;
    animation: paradox-glitch 2s ease-in-out infinite;
}

@keyframes paradox-glitch {
    0%, 100% { 
        filter: hue-rotate(0deg);
        transform: translateX(0);
    }
    25% { 
        filter: hue-rotate(90deg);
        transform: translateX(2px);
    }
    50% { 
        filter: hue-rotate(180deg);
        transform: translateX(-2px);
    }
    75% { 
        filter: hue-rotate(270deg);
        transform: translateX(1px);
    }
}

/* 现实崩塌 */
.scene-img-reality-collapse {
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 0, 0, 0.8) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(0, 0, 0, 0.9) 0%, transparent 50%),
        linear-gradient(45deg, #330000 25%, #660000 25%, #660000 50%, #330000 50%);
    background-size: 100% 100%, 100% 100%, 30px 30px;
    position: relative;
    animation: reality-break 4s ease-in-out infinite;
}

@keyframes reality-break {
    0%, 100% { 
        filter: contrast(1) brightness(1);
        transform: scale(1);
    }
    50% { 
        filter: contrast(2) brightness(0.5);
        transform: scale(0.95);
    }
}

/* 跨维度之恋 */
.scene-img-love-dimensions {
    background: 
        radial-gradient(circle at 30% 50%, rgba(255, 192, 203, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(173, 216, 230, 0.6) 0%, transparent 50%),
        linear-gradient(45deg, rgba(255, 182, 193, 0.3), rgba(221, 160, 221, 0.3));
    position: relative;
    animation: love-pulse 3s ease-in-out infinite;
}

@keyframes love-pulse {
    0%, 100% { 
        filter: brightness(1);
        transform: scale(1);
    }
    50% { 
        filter: brightness(1.2);
        transform: scale(1.02);
    }
}

.scene-img-love-dimensions::before {
    content: '💕';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    animation: heart-float 2s ease-in-out infinite;
}

@keyframes heart-float {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

/* AI之爱 */
.scene-img-ai-love {
    background: 
        linear-gradient(135deg, #0f3460 0%, #e94560 50%, #16537e 100%);
    background-image: 
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255, 255, 255, 0.1) 2px, rgba(255, 255, 255, 0.1) 4px);
    position: relative;
    animation: ai-heartbeat 2s ease-in-out infinite;
}

@keyframes ai-heartbeat {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

.scene-img-ai-love::before {
    content: '🤖💖';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    animation: ai-love-pulse 3s ease-in-out infinite;
}

@keyframes ai-love-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}